package com.bean.dangBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 超市盈利表
 */
public class Income implements Serializable {
    /*主键id*/
    private Integer id;
    /*超市盈利金额*/
    private Double income;
    /*时间*/
    private Date time;
    /*员工工资*/
    private Double salary;

    public Income() {
    }

    public Income(Integer id, Double income, Date time, Double salary) {
        this.id = id;
        this.income = income;
        this.time = time;
        this.salary = salary;
    }

    public Income(Double income, Date time, Double salary) {
        this.income = income;
        this.time = time;
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Income{" +
                "id=" + id +
                ", income=" + income +
                ", time=" + time +
                ", salary=" + salary +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getIncome() {
        return income;
    }

    public void setIncome(Double income) {
        this.income = income;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }
}
